
class EdgeModel(object):
    def __init__(self):
        self.nTrans, self.tTrans = 0, "";
    
    []#Set Action Values
    def setTransitionValue(self, nTrans):
        self.nTrans = round(float(nTrans),3);
        self.tTrans = "P=" + str(self.nTrans);
    
    []#Get Action Values
    def getTransitionValue(self):
        return self.nTrans;
        
    def getTxtTransitionValue(self):
        return self.tTrans;
        
    trans = property(getTransitionValue, setTransitionValue);
    txtTrans = property(getTxtTransitionValue);
